package jgl.vajra.operator.part.mine.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.bean.MyWalletBean;
import jgl.vajra.operator.databinding.ActivityMyWalletBinding;
import jgl.vajra.operator.widget.mvvm.model.BaseModel;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.operator.widget.mvvm.viewmodel.BaseViewModel;

public class MyWalletContract {
    public abstract static class Model extends BaseModel {

        public abstract Observable<MyWalletBean> getMyWalletData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onWithdrawal();

        void onDetailed();

        void returnMyWalletData(MyWalletBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityMyWalletBinding, Model> {


        public abstract void getMyWalletData(Map<String, Object> map);
    }
}
